package com.ylyq.ylxx.model.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class LoginDTO implements Serializable {

    @ApiModelProperty(value = "用户名")
    @NotNull(message = "用户名不能为空")
    private String username;

    @ApiModelProperty(value = "密码")
    @NotNull(message = "密码不能为空")
    private String password;

    /**
     * 客户端类型：pc:后端  android:安卓  ios:苹果  qwwechat:企业微信  wechat:微信
     */
    @ApiModelProperty(value = "客户端类型：pc:后端  android:安卓  ios:苹果  wechat:微信")
    @NotNull(message = "客户端类型不能为空")
    private String type;
}
